package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日座位对象 daily_train_seat
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public class DailyTrainSeat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 车次编号 */
    @Excel(name = "车次编号")
    private String trainCode;

    /** 箱序 */
    @Excel(name = "箱序")
    private Long carriageIndex;

    /** 排号 */
    @Excel(name = "排号")
    private String row;

    /** 列号|枚举[SeatColEnum] */
    @Excel(name = "列号|枚举[SeatColEnum]")
    private String col;

    /** 座位类型 */
    @Excel(name = "座位类型")
    private String seatType;

    /** 同车箱座序 */
    @Excel(name = "同车箱座序")
    private Long carriageSeatIndex;

    /** 售卖情况 */
    @Excel(name = "售卖情况")
    private String sell;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setTrainCode(String trainCode) 
    {
        this.trainCode = trainCode;
    }

    public String getTrainCode() 
    {
        return trainCode;
    }
    public void setCarriageIndex(Long carriageIndex) 
    {
        this.carriageIndex = carriageIndex;
    }

    public Long getCarriageIndex() 
    {
        return carriageIndex;
    }
    public void setRow(String row) 
    {
        this.row = row;
    }

    public String getRow() 
    {
        return row;
    }
    public void setCol(String col) 
    {
        this.col = col;
    }

    public String getCol() 
    {
        return col;
    }
    public void setSeatType(String seatType) 
    {
        this.seatType = seatType;
    }

    public String getSeatType() 
    {
        return seatType;
    }
    public void setCarriageSeatIndex(Long carriageSeatIndex) 
    {
        this.carriageSeatIndex = carriageSeatIndex;
    }

    public Long getCarriageSeatIndex() 
    {
        return carriageSeatIndex;
    }
    public void setSell(String sell) 
    {
        this.sell = sell;
    }

    public String getSell() 
    {
        return sell;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("trainCode", getTrainCode())
            .append("carriageIndex", getCarriageIndex())
            .append("row", getRow())
            .append("col", getCol())
            .append("seatType", getSeatType())
            .append("carriageSeatIndex", getCarriageSeatIndex())
            .append("sell", getSell())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
